load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "go_default_library",
    srcs = [
        "cmd.go",
        "create_vm.go",
        "framework.go",
        "guestfs.go",
        "imageupload.go",
        "memorydump.go",
        "scp.go",
        "ssh.go",
        "usbredir.go",
        "vnc.go",
    ],
    importpath = "kubevirt.io/kubevirt/tests/virtctl",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/libvmi:go_default_library",
        "//pkg/libvmi/cloudinit:go_default_library",
        "//pkg/pointer:go_default_library",
        "//pkg/virtctl:go_default_library",
        "//pkg/virtctl/create:go_default_library",
        "//pkg/virtctl/create/vm:go_default_library",
        "//pkg/virtctl/guestfs:go_default_library",
        "//staging/src/kubevirt.io/api/core/v1:go_default_library",
        "//staging/src/kubevirt.io/api/instancetype:go_default_library",
        "//staging/src/kubevirt.io/api/instancetype/v1beta1:go_default_library",
        "//staging/src/kubevirt.io/client-go/kubecli:go_default_library",
        "//staging/src/kubevirt.io/client-go/kubevirt/scheme:go_default_library",
        "//tests/clientcmd:go_default_library",
        "//tests/console:go_default_library",
        "//tests/containerdisk:go_default_library",
        "//tests/decorators:go_default_library",
        "//tests/exec:go_default_library",
        "//tests/flags:go_default_library",
        "//tests/framework/checks:go_default_library",
        "//tests/framework/kubevirt:go_default_library",
        "//tests/framework/matcher:go_default_library",
        "//tests/libconfigmap:go_default_library",
        "//tests/libinstancetype/builder:go_default_library",
        "//tests/libsecret:go_default_library",
        "//tests/libssh:go_default_library",
        "//tests/libstorage:go_default_library",
        "//tests/libvmifact:go_default_library",
        "//tests/libwait:go_default_library",
        "//tests/testsuite:go_default_library",
        "//vendor/github.com/mitchellh/go-vnc:go_default_library",
        "//vendor/github.com/onsi/ginkgo/v2:go_default_library",
        "//vendor/github.com/onsi/gomega:go_default_library",
        "//vendor/github.com/onsi/gomega/gstruct:go_default_library",
        "//vendor/github.com/spf13/cobra:go_default_library",
        "//vendor/golang.org/x/crypto/ssh:go_default_library",
        "//vendor/k8s.io/api/core/v1:go_default_library",
        "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library",
        "//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library",
        "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
        "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
        "//vendor/k8s.io/apimachinery/pkg/util/rand:go_default_library",
        "//vendor/k8s.io/client-go/tools/remotecommand:go_default_library",
        "//vendor/kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1:go_default_library",
    ] + select({
        "@io_bazel_rules_go//go/platform:386": [
            "//tests/libvmops:go_default_library",
        ],
        "@io_bazel_rules_go//go/platform:amd64": [
            "//tests/libvmops:go_default_library",
        ],
        "@io_bazel_rules_go//go/platform:arm": [
            "//tests/libvmops:go_default_library",
        ],
        "@io_bazel_rules_go//go/platform:arm64": [
            "//tests/libvmops:go_default_library",
        ],
        "@io_bazel_rules_go//go/platform:mips": [
            "//tests/libvmops:go_default_library",
        ],
        "@io_bazel_rules_go//go/platform:mips64": [
            "//tests/libvmops:go_default_library",
        ],
        "@io_bazel_rules_go//go/platform:mips64le": [
            "//tests/libvmops:go_default_library",
        ],
        "@io_bazel_rules_go//go/platform:mipsle": [
            "//tests/libvmops:go_default_library",
        ],
        "@io_bazel_rules_go//go/platform:ppc64": [
            "//tests/libvmops:go_default_library",
        ],
        "@io_bazel_rules_go//go/platform:ppc64le": [
            "//tests/libvmops:go_default_library",
        ],
        "@io_bazel_rules_go//go/platform:riscv64": [
            "//tests/libvmops:go_default_library",
        ],
        "@io_bazel_rules_go//go/platform:wasm": [
            "//tests/libvmops:go_default_library",
        ],
        "//conditions:default": [],
    }),
)
